From: Cosimo Cecchi Date: Sun, 17 Feb 2013 20:44:33 +0000 (-0500) Subject: overviewControls: reset any translation when sliding in for drag X-Git-Tag: archive/raspbian/50.5-1+rpi1~1^2~1013^2^2~4801 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=12845f0eefa02b9a3f54c4263ac8d1b1157634b8;p=gnome-shell.git overviewControls: reset any translation when sliding in for drag Fixes the dash not sliding when dragging an app from the search results. --- diff --git a/js/ui/overviewControls.js b/js/ui/overviewControls.js index 1a0dc3d0b..4800f4f6a 100644 --- a/js/ui/overviewControls.js +++ b/js/ui/overviewControls.js @@ -163,6 +163,7 @@ const SlidingControl = new Lang.Class({ _onDragBegin: function() { this.inDrag = true; + this.actor.translation_x = 0; this.updateSlide(); },